<template>
    <div class="activity">
        <div class="navtop">
            <div>公司新闻</div>
            <div>行业新闻</div>
        </div>
    </div>
</template>

<script>
    export default {
        name: "activity"
    }
</script>

<style lang="less" scoped>
    .navtop{
        width: 100%;
        height: 25vh;
        background: url(http://s.dddua.com/images/cdn/a1.jpg) 100% 100% no-repeat;
        color: #fff;
        line-height:25vh;
        /*padding-top: 100px;*/
        text-align: center;
        font-size: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        div{
            width: 100px;
            height: 30px;
            line-height: 30px;
            font-size: 15px;
            margin: 0 20px;

        }
        div:hover{
            text-decoration: none;
            color: #157fca;
            background-color: #fff;
            border-radius: 5px;
        }
    }
</style>